package com.atguigu.ssyx.product.service;

import com.atguigu.ssyx.vo.product.FileVO;
import io.minio.errors.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

public interface UploadService {
    FileVO zupload(MultipartFile file) throws IOException, ServerException, InsufficientDataException,
            ErrorResponseException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, InternalException;

    FileVO upload(MultipartFile file);
}
